package com.woniuxy.service;

import com.woniuxy.commons.utile.Result;
import com.woniuxy.controller.dto.RepairMaterialGetDto;
import com.woniuxy.controller.form.RepairMaterialForm;
import com.woniuxy.dao.model.RepairMaterial;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 维修用料表 服务类
 * </p>
 *
 * @author Keep it simple
 * @since 2022-06-28
 */
public interface RepairMaterialService extends IService<RepairMaterial> {

    /**
     * 新增维修用料表
     * @param repairMaterialForm
     */
    void addMaterial(RepairMaterialForm repairMaterialForm);

    List<RepairMaterialGetDto> getRepairMaterial(String repairnum);
}
